package cn.exrick.xboot.modules.activiti.service;

import cn.exrick.xboot.base.XbootBaseService;
import cn.exrick.xboot.common.vo.SearchVo;
import cn.exrick.xboot.modules.activiti.vo.ActHistoricProcessInstance;
import cn.exrick.xboot.modules.activiti.vo.ActProcessInstance;
import cn.exrick.xboot.modules.activiti.vo.YongLaiChuanCan;

import java.util.List;

public interface ProcessInstanceService extends XbootBaseService<ActProcessInstance,String> {

    /**
     * 获取未完结事件数据所有数据
     * @return
     */
    List<ActProcessInstance> findByNameDepIdKeyTime(YongLaiChuanCan yongLaiChuanCan,SearchVo searchVo);
    /**
     * 获取办结事件数据
     * @param searchVo    根据时间范围获取办结事件
     * @return
     */
    List<ActHistoricProcessInstance> findHistoricByDepIdKeyTime(YongLaiChuanCan chuanCan, SearchVo searchVo);
}
